package cn.yunlang.zhangZhongFei.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.yunlang.zhangZhongFei.entity.WinAward;
import cn.yunlang.zhangZhongFei.vo.request.ExchangeAwardVo;
import cn.yunlang.zhangZhongFei.vo.response.R;

/**
 * 中奖记录表 服务类
 *
 * @author ·
 * @since 2025-05-27 09:54:49
 */
public interface WinAwardService extends IService<WinAward> {

  R<IPage<WinAward>> pageWinAward(Integer pageNo, Integer pageSize, Long userId);

  R<WinAward> getOne(Long winAwardId);

  R<String> exchange(ExchangeAwardVo exchangeAwardVo);

  R<String> addWinAward(WinAward winAward);

  R<String> deleteWinAward(Long winAwardId);

  R<String> updateWinAward(WinAward winAward);
}
